package cn.seu.together.utils;

/**
 * Created by corvo on 2/23/17.
 */
public class Helper {

    private static String key = "wow!@#$&";

    public static boolean isStringInArray(String str, String[] array) {
        for (String val: array) {
            if (str.equals(val))
                return true;
        }

        return false;
    }

    public static String encode(String str) {
        String enStr = "";
        /**
         * 加密算法调用
         */
        return str;
    }

    public static String decode(String str) {
        String deStr = "";
        /**
         * 解密算法调用
         */
        return str;
    }
}
